#include "StdAfx.h"
#include "GuideMapEdit.h"
#include "Scene.h"

CGuideMapEdit::CGuideMapEdit(const TCHAR* name, CBaseVport* view,CBaseWorld* pworld,CProjectScene* scene):CCamControl(pworld, view)
{
	this->m_pScene = scene;
	this->m_name = name;
	this->m_current_map = NULL;

	pworld->update_all_views();
}

CGuideMapEdit::~CGuideMapEdit(void)
{
	this->m_pScene = NULL;
	this->m_name = "";
	this->m_current_map = NULL;
	//CCamControl::~CCamControl();
}

void CGuideMapEdit::v_on_render_in_3d(DEV dev)
{
	this->m_pScene->m_guideMapScene.render_in_view(m_world);
}

